/*
 * Viewport.h
 *
 *  Created on: 08/10/2009
 *      Author: ale
 */

#ifndef VIEWPORT_H_
#define VIEWPORT_H_

#include "Punto.h"

enum FLECHA {UP=0,DOWN,RIGHT,LEFT};

class Viewport {

private:
	Punto position;
	int height;
	int width;
public:
	Viewport(int w, int h, const Punto& pos);
	Viewport(const Viewport& otro);
	virtual ~Viewport();
	void setPosition(const Punto& p);
	Punto getPosition();
	int getWidth();
	int getHeight();
	void mover(FLECHA f);
	void zoom(float z);
	void mostrar(){
		std::cout<<position<<" H:"<<height<<" W:"<<width<<std::endl;
	}
};

#endif /* VIEWPORT_H_ */
